KikuGie's Commons
Toggle table of contents
0.3.0
jvm
Platform filter
jvm
Switch theme
Search in API
KikuGie's Commons
KikuGie's Commons
/
dev.kikugie.commons.collections
/
findIsInstance
find
Is
Instance
inline
fun
<
T
:
Any
>
Array
<
*
>
.
findIsInstance
(
check
:
(
T
)
->
Boolean
=
{ true }
)
:
T
?
(
source
)
inline
fun
<
T
:
Any
>
Iterable
<
*
>
.
findIsInstance
(
check
:
(
T
)
->
Boolean
=
{ true }
)
:
T
?
(
source
)
inline
fun
<
T
:
Any
>
Iterator
<
*
>
.
findIsInstance
(
check
:
(
T
)
->
Boolean
=
{ true }
)
:
T
?
(
source
)
inline
fun
<
T
:
Any
>
Sequence
<
*
>
.
findIsInstance
(
check
:
(
T
)
->
Boolean
=
{ true }
)
:
T
?
(
source
)
Returns the first
T
element that satisfies the
check
or
null
if nothing was found.